package com.qf.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.qf.mapper.DtsGoodsProductMapper;
import com.qf.pojo.DtsGoodsProduct;
import com.qf.service.DtsGoodsProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Cc
 * @version 1.0
 */
@Service
public class DtsGoodsProductServiceImpl implements DtsGoodsProductService {

    @Autowired
    private DtsGoodsProductMapper dtsGoodsProductMapper;


    @Override
    public int count() {
        QueryWrapper wrapper=new QueryWrapper();
        wrapper.eq("deleted",false);
        Integer integer = dtsGoodsProductMapper.selectCount(wrapper);
        return integer;
    }
}
